package org.edu.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
//数据表名
@TableName("ve_base_department")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class VeBaseDepartmentEntity {
    /**主键id*/
    @ApiModelProperty(value = "组织机构信息表id")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**部门号*/
    @Excel(name = "部门号", width = 15)
    @ApiModelProperty(value = "部门号")
    @TableField(value = "JGH")
    private String JGH;

    /**部门名称*/
    @Excel(name = "部门名称", width = 15)
    @ApiModelProperty(value = "部门名称")
    @TableField(value = "JGMC")
    private String JGMC;

    /**部门英语名称*/
    @Excel(name = "部门英语名称", width = 15)
    @ApiModelProperty(value = "部门英语名称")
    @TableField(value = "JGYWMC")
    private String JGYWMC;

    /**机构简称*/
    @Excel(name = "机构简称", width = 15)
    @ApiModelProperty(value = "机构简称")
    @TableField(value = "JGJC")
    private String JGJC;

    /**部门简拼*/
    @Excel(name = "部门简拼", width = 15)
    @ApiModelProperty(value = "部门简拼")
    @TableField(value = "JGJP")
    private String JGJP;

    /**部门地址*/
    @Excel(name = "部门地址", width = 15)
    @ApiModelProperty(value = "部门地址")
    @TableField(value = "JGDZ")
    private String JGDZ;

    /**隶属上级机构号*/
    @Excel(name = "隶属上级机构号", width = 15)
    @ApiModelProperty(value = "隶属上级机构号")
    @TableField(value = "DSSJJGH")
    private String DSSJJGH;

    /**隶属上级机构id*/
    @Excel(name = "隶属上级机构id", width = 15)
    @ApiModelProperty(value = "隶属上级机构id")
    @TableField(value = "pid")
    private Long pid;

    /**节点路径*/
    @Excel(name = "节点路径", width = 15)
    @ApiModelProperty(value = "节点路径")
    @TableField(value = "path")
    private String path;

    /**隶属校区号*/
    @Excel(name = "隶属校区号", width = 15)
    @ApiModelProperty(value = "隶属校区号")
    @TableField(value = "LSXQH")
    private String LSXQH;

    /**隶属校区id*/
    @Excel(name = "隶属校区id", width = 15)
    @ApiModelProperty(value = "隶属校区id")
    @TableField(value = "campusId")
    private Long campusId;

    /**建立年月*/
    @Excel(name = "建立年月", width = 15)
    @ApiModelProperty(value = "建立年月")
    @TableField(value = "JLNY")
    private Long JLNY;

    /**机构邮政编码*/
    @Excel(name = "机构邮政编码", width = 15)
    @ApiModelProperty(value = "机构邮政编码")
    @TableField(value = "JGYZBM")
    private String JGYZBM;

    /**部门负责人用户ID*/
    @Excel(name = "机构电话号码", width = 15)
    @ApiModelProperty(value = "机构电话号码")
    @TableField(value = "fzrUserId")
    private Long fzrUserId;

    /**机构电话号码*/
    @Excel(name = "机构电话号码", width = 15)
    @ApiModelProperty(value = "机构电话号码")
    @TableField(value = "telephone")
    private String telephone;

    /**系统ID*/
    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    @TableField(value = "terminalId")
    private Long terminalId;


}
